home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c / 262 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.3 KB

  1. Path: news.rmii.com!usenet
  2. From: jcoffin@rmii.com (Jerry Coffin)
  3. Newsgroups: comp.lang.c,comp.std.c
  4. Subject: Re: Integral conversion e.t.c. (was: Re: Hungarian notation)
  5. Date: Thu, 01 Feb 1996 10:14:01 GMT
  6. Organization: TAEUS
  7. Message-ID: <4epvo3$b2q@natasha.rmii.com>
  8. References: <30C40F77.53B5@swsbbs.com> <SPENCER.96Jan22113215@zorgon.ERA.COM> <TANMOY.96Jan29183041@qcd.lanl.gov> <823011209snz@genesis.demon.co.uk>
  9. NNTP-Posting-Host: slip22150.rmii.com
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. Lawrence Kirby <fred@genesis.demon.co.uk> wrote:
  13.  
  14. >In article <TANMOY.96Jan29183041@qcd.lanl.gov>
  15. >           tanmoy@qcd.lanl.gov "Tanmoy Bhattacharya" writes:
  16.  
  17. >>As I said, almost no Posix extension requires diagnostic. It usually
  18. >>specifies meaning for constructs undefined in C.
  19.  
  20. >Unfortunately there are some. For instance POSIX defines fdopen() and
  21. >fileno() in stdio.h. It would have made more sense to put these in unistd.h
  22. >alongsize read, write and close, even though that means defining FILE
  23. >in unistd.h
  24.  
  25. However, this only happens if _POSIX_SOURCE is defined.  _POSIX_SOURCE
  26. is in the implementor's name space, so no strictly conforming program
  27. defines it.  As such, stdio.h can (and certainly should) be defined to
  28. allow POSIX conformance without bothering C programs that want to use
  29. the same names for other purposes.
  30.  
  31.